﻿@using BELLTruongThinh.Models;
@{
    TruongThinhEntities db = new TruongThinhEntities();
    var listCate = db.NewsCategories.Where(m => m.Status == true).ToList();
        HttpApplicationState application = HttpContext.Current.ApplicationInstance.Application;
    }
<div class="divleft">
<div class="row-fluid">
<div class="title-sbar"><P><a href="#">CHUYÊN BÀI VIẾT</a></P></div>
<div class="k-sbar bg-ksbar">
<ul>
    @foreach (var i in listCate)
    {
        <li><a href="#">@i.Name</a></li>
    }

</ul>
</div>
</div><!--end row-fluid-->

<div class="clear5"></div>
<div class="row-fluid"><img src="~/Content/images/qc.jpg" /></div>

<div class="clear5"></div>
<div class="row-fluid">
<div class="title-sbar"><P><a href="#">THỐNG KÊ</a></P></div>
<div class="k-sbar">
<ul class="block-stat">
<li class="online">Đang truy cập: <strong>@application["DangTruyCap"].ToString()</strong></li>
<li class="statistics">Số lần truy cập: <strong>@application["DaTruyCap"].ToString()</strong></li>
</ul>
</div>
</div><!--end row-fluid-->

</div><!--end divleft-->